Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
Contains Method
See Also 
Leadtools Namespace > Generic RasterCollection Class : Contains Method




item
Object to test.
Determines whether or not the specified item is contained in the collection.

Syntax

Visual Basic (Declaration) 
Public Overridable Function Contains( _
   ByVal item As T _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterCollection(Of T)
Dim item As T
Dim value As Boolean
 
value = instance.Contains(item)
C# 
public virtual bool Contains( 
   T item
)
Managed Extensions for C++ 
public: virtual bool Contains( 
   T item
) 
C++/CLI 
public:
virtual bool Contains( 
   T item
) 

Parameters

item
Object to test.

Return Value

true if the item is found in the collection, false otherwise.

Example

For an example, refer to Generic RasterCollection.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also